/*
 * Copyright (c) 1994-2017, Joyoung Stock CO.LTD.
 * The FWJR Project.
 * All Rights Reserved.
 */

package com.rest.constant;

import com.jz.rest.BuildConfig;

/**
 * @author DELL
 */
public class JDConstant {

    public static final boolean IS_TEST = BuildConfig.isTest;

    //wx5bc770d09dac9334 是我们自己的   wxab5181fb7d520bd7 和平的
    public static String APP_ID = IS_TEST ? "wxab5181fb7d520bd7" : "wx5bc770d09dac9334";

    public static final String HOST = "http://61.175.213.218:9022/";

    public static final String YSG_HOST = IS_TEST ? "https://health.pmc-wz.com:20211/" : "https://health.pmc-wz.com:20211/";

    public static final String HY_HOST = IS_TEST ? "https://health.pmc-wz.com:20211/" : "https://health.pmc-wz.com:20211/";

    public static final String BASE_URL = IS_TEST ? "ysgapp" : "ysgapp";

    public static final String WEBSOCKET_HOST = IS_TEST ? "wss://health.pmc-wz.com:20211/" : "wss://health.pmc-wz.com:20211/";

    ///图片上传到数据库
    public static final String YSG_HOST_MINIO = IS_TEST ? "https://health.pmc-wz.com:20211/" : "https://health.pmc-wz.com:20211/";

    public static final String METHOD_UPLOAD_PAYMENT_FILE_MINIO = "chat/imserver/picture/insertTbresource";//保存图片数据到数据库

    public static final String METHOD_GETPRESIGNEDURL = "chat/imserver/minio/getPresignedUrl";//上传图片到minio第一步
    /**
     * 首页接口
     */
    public static final String METHOD_GET_BANNER_LIST = "/app/sheard/bannerList"; //轮播图

    public static final String METHOD_GET_VERSION = "/app/userPatient/getVision"; //版本号


    /**
     * 我的接口，修改密码昵称
     */
    public static final String METHOD_CHANGENICKNAME = "/app/userPatient/changeNickName"; //患者修改用户名
    public static final String METHOD_MODIFYUSERSTATUS = "/app/userPatient/modifyUserStatus"; //用户注销/恢复账号


    /**
     * 支付页面相关接口，包括预约时段，就诊人，病情主诉，既往史，过敏史，上传图片
     * http://192.168.1.149:10212/imserver/picture/insertTbresource
     */
    public static final String METHOD_UPLOAD_PAYMENT_FILE = "/app/picture/uploadFile_webUploader";//上传图片


    /**
     * 个人中心，登录，
     * http://192.168.1.149:10212/imserver/picture/insertTbresource
     */

    public static final String METHOD_LOGIN = "/app/userPatient/login";//登录
    public static final String METHOD_GET_HELP_LIST = "/app/userPatient/helpType"; //帮助中心大类.帮助类型查询
    public static final String METHOD_GET_HELP_DETAIL_LIST = "/app/userPatient/helpList"; //帮助中心小类和搜索
    public static final String METHOD_ADDFEEDBACK = "/app/userPatient/addFeedback";//添加意见反馈接口
    public static final String METHOD_LOGOUT = "/app/userDoc/logOut";//用户登出

    /**
     * 眼科检查接口
     */
    public static final String METHOD_HOSLIST = "/app/hidCheck/hosList";//医院列表
    public static final String METHOD_CREATECHECK = "/app/hidCheck/createCheck";//创建检查单
    public static final String METHOD_CHECKLIST = "/app/hidCheck/checkList";//检查单列表
    public static final String METHOD_CANCELCHECK = "/app/hidCheck/cancelCheck";//取消检查预约
    public static final String METHOD_CHECKDETAIL = "/app/hidCheck/checkDetail";//检查详情
    public static final String METHOD_EDITCHECKDETAIL = "/app/hidCheck/editCheckDetail";//编辑检查详情
    //处方相关
    public static final String METHOD_UPDATEPRESCRIPTIONSTATUS = "/app/prescription/updateStatus";
    public static final String METHOD_GET_PRESCRIPTION = "/app/prescription/queryPrescriptionInfoApp";
    public static final String METHOD_GETPRESCRIPTIONMEDHISDTO_BYIDAPP = "/app/prescription/getPrescriptionMedhisDtoByIdApp";
    public static final String METHOD_QUERYRESPONSELIST = "/app/logistics/logisticsList";

    public static final String METHOD_GET_USERINFO = "/user/currentDoctor";

    public static final String METHOD_DOWNLOAD_PIC = "/picture/picDownload";

    public static final String METHOD_GET_MESSAGE_CODE = "/app/userPatient/sendSms";

    public static final String METHOD_REGISTER = "/app/userPatient/register";

    public static final String METHOD_FORGET = "/app/userPatient/forgetPasswd";

    public static final String METHOD_QUERY_IM_LIST = "/app/consultation/queryDoctorList";

    public static final String METHOD_GET_DEPARTMENT_LIST = "/app/newConsultation/deptNameLists";

    public static final String METHOD_GET_DOCTOR_LIST = "/app/newConsultation/doctorInfoLists";

    public static final String METHOD_GET_REGISTRATION_DETAIL = "/app/hisPatientState/queryPatientState";

    public static final String METHOD_GET_CHAT_LIST = "/app/consultation/queryImRecordList";

    public static final String METHOD_SAVE_PATIENT_STATE = "/app/hisPatientState/savePatientState";

    public static final String METHOD_ADD_ORDER = "/app/order/addOrder";

    public static final String METHOD_ADD_FAMILY = "/app/userPatient/insertOrUpdateFamilyMember";

    public static final String METHOD_GET_FAMILY = "/app/userPatient/familyMemberList";

    public static final String METHOD_GET_CLOUD_LIST = "/app/order/onlineDiagnoseOrderList";

    public static final String METHOD_GET_CLOUD_DOCTOR_LIST = "/app/findDoctor/findDoctorLists";

    public static final String METHOD_GET_CLOUD_NURSE_LIST = "/app/nurse/nurseList";

    public static final String METHOD_GET_HOME_DEPT_LIST = "/app/recommend/deptLists";

    public static final String METHOD_GET_DOCTOR_DETAIL = "/app/findDoctor/doctorInfo";

    public static final String METHOD_QUERYPROTOCOL = "/app/protocol/queryProtocol";

    public static final String METHOD_GET_SCHEDULE_LIST = "source/source/getScheduleSourceNew";

    public static final String METHOD_CREATE_CLOUD_ORDER = "/app/outpatientCloud/createOutpatientCloud";

    public static final String METHOD_USE_SCHEDULE = "source/source/registerNew";

    public static final String METHOD_CLOUD_READY = "/app/outpatientCloud/changeOutpReady";

    public static final String METHOD_MEDICINE_ORDER_LIST = "/app/order/preOrderList";

    public static final String METHOD_CANCEL_ORDER = "/app/order/cancelOrder";

    public static final String METHOD_GET_MEDICINE_ORDER_DETAIL = "/app/order/preOrderDetail";

    public static final String METHOD_GET_CONSULTATION_LIST = "/app/order/consultationOrderList";

    public static final String METHOD_GET_PROVINCE = "/app/region/getProvinceLists";

    public static final String METHOD_GET_CITY = "/app/region/getCityListsByProId";

    public static final String METHOD_GET_AREA = "/app/region/getRegionListsByCityId";

    public static final String METHOD_GET_DICT_LIST = "/app/sheard/dictLists";

    public static final String METHOD_CREATE_ORDER = "/app/pay/wechat/appPaySubmit";

    public static final String METHOD_GET_CLOUD_ORDER_DETAIL = "/app/order/onlineDiagnoseOrderDetail";

    public static final String METHOD_GET_FAMILY_DETAIL = "/app/userPatient/familyMemberInfo";

    public static final String METHOD_GET_ADDRESS_LIST = "/app/userPatient/receivingAddressList";

    public static final String METHOD_ADD_ADDRESS = "/app/userPatient/insertOrUpdateReceivingAddress";

    public static final String METHOD_ADDRESS_DETAIL = "/app/userPatient/receivingAddressInfo";

    public static final String METHOD_UPDATE_DIAGNOSE_STATUS = "/app/consultation/updateDiagnoseFlag";

    public static final String PATIENT_FINISH_ORDER = "/app/nurse/patientFinishOrder";

    public static final String METHOD_GET_YSG_CARD_INFO = "/app/userPatient/getCard";

    public static final String METHOD_BIND_CARD = "/app/userPatient/bindingCard";

    public static final String METHOD_CREATE_CARD = "/app/userPatient/createCard";

    public static final String METHOD_CHANGE_PHONE = "/app/userPatient/updatePhoneReview";

    public static final String METHOD_PIC_ORDER_DETAIL = "/app/order/consultationOrderDetail";

    public static final String METHOD_FINISH_MEETING = "/app/video/removeConference";

    public static final String METHOD_UPDATE_PASSWORD = "/app/userPatient/passwd";

    public static final String MEHTOD_QUERY_ORDER_STATUS = "/app/pay/wechat/queryOrderStatus";

    public static final String METHOD_UPDATE_TOP = "/app/consultation/updateIsTop";

    public static final String METHOD_GET_TEAM_LIST = "/app/doctorTeam/doctorTeamList";

    public static final String METHOD_GET_TEAM_DETAIL = "/app/doctorTeam/doctorTeamDteail";

    public static final String METHOD_UPDATE_UMENG_DEVICE = "/app/userDoc/updateUserPush";

    public static final String MEHTOD_GET_PUSH_MEETING = "/app/video/pushConferenceInfo";

    public static final String METHOD_DIAGNOSE_ORDER_DETAIL = "/app/consultation/endDiagnoseInfo";

    //订单评价
    public static final String METHOD_EVALUATE_ORDER = "/app/order/evaluateOrder";

    public static final String METHOD_DEL_FAMILY = "/app/userPatient/deleteFamilyMember";

    public static final String METHOD_GET_PATIENT_DETAIL = "/app/userPatient/familyMemberInfo";

    public static final String METHOD_GET_DAILY_LIST = "/app/consultation/offlineOutpList";

    public static final String METHOD_GET_DAILY_DETAIL = "/app/consultation/offlineOutpInfo";

    public static final String METHOD_CANCEL_DAILY = "/app/consultation/cancelOfflineOutp";

    public static final String METHOD_REFUND = "/app/pay/wechat/refund4DoctorRefuse";

    public static final String METHOD_GET_RESOURCE_PRICE = "/app/loadPrice";

    public static final String METHOD_ORDER_NUMBERS = "/app/order/orderNumbers";

    public static final String METHOD_UPLOAD_VIDEO = "/chat/imserver/picture/videoUpload";

    //预约护理接口 start
    public static final String METHOD_ITEM_LIST = "/app/patient/project/itemList";

    public static final String METHOD_APPOINTMENT_LIST = "/app/patient/appointment/list";

    public static final String METHOD_APPOINTMENT_DETAIL = "/app/patient/appointment/detail";

    public static final String METHOD_APPOINTMENT_ADD = "/app/patient/appointment/add";

    public static final String METHOD_NURSE_REQUEST_PAY = "/app/pay/wechat/nurseRequestPay";

    public static final String METHOD_APPOINTMENT_COMMENT = "/app/patient/appointment/comment";

    public static final String METHOD_QUERY_APPOINTMENT_ORDER_STATUS = "/app/pay/wechat/queryAppointmentOrderStatus";

    public static final String METHOD_APPOINTMENT_CANCEL = "/app/patient/appointment/appCancel";
    //预约护理接口 end

    public static final String METHOD_QUERY_PREPAID_ORDER = "/app/pay/wechat/queryPrepaidOrder";
    //app首页头搜索（疾病/医生/科室）
    public static final String METHOD_QUERY_DOCTOR_LISTS = "/app/findDoctor/queryDoctorLists";

    //药品列表搜索
    public static final String METHOD_WESTERN_SEARCH = "/app/western/westernSearch";

    //护理咨询预约下单
    public static final String CREATE_APPOINT_NURSE_ORDER = "/app/nurse/nursingOrders";

    //查询护理咨询订单
    public static final String PATIENT_ORDER = "/app/nurse/findPatientOrders";

    //取消护理咨询订单
    public static final String CANCEL_NURSE_ORDER = "/app/nurse/patientCancelOrder";

    //护理咨询详情
    public static final String NURSE_CONSULT_DETAIL = "/app/nurse/detail";

    //患者端-获取护理咨询列表
    public static final String NURSE_CONSULT_LIST = "/app/nurse/findPatientConsultList";

    //获取该用户是有存在就诊记录
    public static final String PATIENT_MEDICAL_RECORDS = "/app/order/patientMedicalRecords";

    //医保支付开关
    public static final String ALIPAYUSER_GETSWITCH = "/app/alipayUser/getSwitch";

    //和平预约号源
    public static final String METHOD_REGISTER_HEPING = "source/source/registerHeping";
    //医技开检查单相关
    public static final String METHOD_CHECKOUT_ORDER_DETAIL = "/app/jy/orderDetail/{orderId}";
    public static final String METHOD_CHANGE_ORDER_STATUS = "app/jy/changeStatus/{id}/{type}";
    //上报举报单
    public static final String METHOD_REPORTVIOLATIONS = "/app/consultation/reportViolations";

}
